package com.wyk.session;

import com.wyk.handler.ParameterMappingTokenHandler;

import java.lang.reflect.Method;
import java.util.Map;

/**
 * @InterfaceName: Executor
 * @Description: todo sql语句执行器接口
 * @Author: 初久
 * @Date: 2022/7/13 13:52
 **/
public interface Executor {

    <T> T query(String statement, ParameterMappingTokenHandler tokenHandler, Map<String, Object> paramValuesMap, Method method);

    int update(String statement, ParameterMappingTokenHandler tokenHandler, Map<String, Object> paramValuesMap, Method method);

}
